package com.dangdang.domain;

import java.io.Serializable;

/**
 * 
 * 特别书类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-19
 */

public class SepcialBook extends Book implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 该图书的ID */
	private Integer id;

	/** 是否被编辑推荐 0表示否，1表示是 */
	private Integer recommendBook = 0;

	/** 是否是热销图书 0表示否，1表示是 */
	private Integer hotBook = 0;

	/** 是否是新书上架 0表示否，1表示是 */
	private Integer newBook = 0;

	// Constructors

	/** default constructor */
	public SepcialBook() {
	}

	/** full constructor */
	public SepcialBook(Integer recommendBook, Integer hotBook, Integer newBook) {
		this.recommendBook = recommendBook;
		this.hotBook = hotBook;
		this.newBook = newBook;
	}

	// Property accessors

	@Override
	public Integer getId() {
		return this.id;
	}

	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getRecommendBook() {
		return this.recommendBook;
	}

	public void setRecommendBook(Integer recommendBook) {
		this.recommendBook = recommendBook;
	}

	public Integer getHotBook() {
		return this.hotBook;
	}

	public void setHotBook(Integer hotBook) {
		this.hotBook = hotBook;
	}

	public Integer getNewBook() {
		return this.newBook;
	}

	public void setNewBook(Integer newBook) {
		this.newBook = newBook;
	}

}